//package cn.snow.boot.rabbitmq.receive;
//
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
///**
// * @author Wanxiang Liu
// * @version 2018/9/15.
// */
//@Component
//@RabbitListener(queues = "phone")
//public class Receiver1 {
//
//    @RabbitHandler
//    public void handle(String msg) {
//        System.err.println("Receiver1: " + msg);
//    }
//
//    @RabbitHandler
//    public void handle(Long msg) {
//        System.err.println("Receiver1: " + msg);
//    }
//
//}
